package com.smfx.yxt.model;

import java.io.Serializable;
import java.util.Date;

import com.smfx.yxt.common.enums.LateCoachType;
import com.smfx.yxt.common.enums.Week;

public class LateCoachPlan implements Serializable {
    private Integer id;

    private int week;

    private Integer classId;

    private int coachType;

    private String teacherName;
    
    private Integer isValid;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public int getCoachType() {
        return coachType;
    }

    public void setCoachType(Integer coachType) {
        this.coachType = coachType;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public Integer getIsValid() {
		return isValid;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getWeekText() {
		return Week.getValue(this.week);
	}
	
	public String getCoachTypeText() {
		return LateCoachType.getValue(this.coachType);
	}
}